<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of defaultLang
 *
 * @author hodek
 */
abstract class LangAbstract {

    private $lang;

    public final function LangAbstract(){
        $this->add("saveChanges", "Save changes");        
        $this->constructStrings();
    }
    
    protected abstract function constructStrings();
    
    public abstract static function getClass();
    
    protected  final function add($ident,$text){
        $this->lang[$ident] = $text;     
    }
    
    public function getLang(){
        return $this->lang;
    }

}

?>
